LibWeb: Tolerate stale layout when text control sizing changes - #11132
Conversation
Attribute change steps may run while layout is dirty. These handlers fetched their layout node through the checked accessor, which asserts that layout is up to date. Use the node-level helper instead, which tolerates a stale layout node.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughInput Possibly related PRs
Suggested reviewers: Merge Risk: ⚪ Minimal · up to This localized change makes text-control attribute handling tolerate stale layout state and adds regression coverage; no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Attribute change steps may run while layout is dirty. These handlers fetched their layout node through the checked accessor, which asserts that layout is up to date. Use the node-level helper instead, which tolerates a stale layout node.
Fixes a regression introduced in #11105
Found with domato, where this crash was present in 56 / 1000 cases.